package cn.tedu.entity;

import java.io.Serializable;

/**
 * <pre>
 *      tb_user表的实体类.
 * </pre>
 *
 * @author restyhap
 * @since 2019/10/28 14:29
 */
public class User implements Serializable {

//    public static final long serialVersionUID = 1L;//实现当前实体类可以序列化及反序列化的依据.
//    transient 可以让单属性不再进行序列.
    /**对应数据库表的字段内容**/
    private int id;
    private String name;
    private String password;
    /**提供所有字段的公共的getter/setter方法.**/

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
